package com.java.facade;

/**
 * @Author: TongRui乀
 * @Date: 2019/3/6 11:03
 * @description：
 */
public class ShapeFacade {

    private CircleShape circleShape;

    private Square square;

    public ShapeFacade(){

        this.circleShape = new CircleShape();

        this.square = new Square();
    }

    public void drawCircle(){
        this.circleShape.draw();
    }

    public void drawSquare(){
        this.square.draw();
    }

}
